var t = getApp();

Page({
    data: {
        logId: "",
        detailInfo: {},
        integral: "积分"
    },
    onLoad: function(t) {
        t.id && this.setData({
            logId: t.id
        }), this.getData();
        try {
            var a = wx.getStorageSync("integral");
            a && this.setData({
                integral: a
            });
        } catch (t) {}
    },
    onShow: function() {},
    getData: function() {
        var a = this, i = t.getNetAddresss("finance.point-info.detail");
        wx.showLoading({
            title: "loading"
        }), t._getNetWork({
            url: i,
            data: {
                log_id: this.data.logId
            },
            success: function(t) {
                wx.hideLoading(), console.log(t), t.data && 1 === t.data.result && a.setData({
                    detailInfo: t.data.data
                });
            },
            fail: function() {
                wx.hideLoading();
            }
        });
    }
});